package com.itdachang.design.behavioral.state;

/**
 * @author gcq
 * @Create 2022-02-14
 */
public class MatchState implements TeamState{

    @Override
    public void playGame() {
        System.out.println("全力以赴对待比赛.......");
    }

    @Override
    public TeamState next() {
        // 开始旅游
        return new VocationState();
    }
}